- if @project.feature_available?(:protected_refs_for_users, current_user)
  .js-protected-refs-for-users
    = render "protected_branches/ee/index", protected_branch_entity: protected_branch_entity
    = render "projects/protected_tags/ee/index"
- else
  = render "protected_branches/index", protected_branch_entity: protected_branch_entity
  = render "projects/protected_tags/index"
